﻿<UserControl 
    x:Class="WGM_Silverlight.Views.LoginView"
    xmlns:localcontrols="clr-namespace:WGM_Silverlight.Controls"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    >
    <Grid x:Name="LayoutRoot" Background="Black">
        <StackPanel VerticalAlignment="Top" HorizontalAlignment="Center" Margin="0,50,0,0" MinWidth="420" >
            <TextBlock Name="_loginMessageTb" HorizontalAlignment="Center" Margin="5,0,0,5" Text="Welcome to WGM" FontFamily="Verdana"  Foreground="#FF0099FF" FontSize="16" FontWeight="Bold"  VerticalAlignment="Bottom" Grid.ColumnSpan="2"  />
            <Border CornerRadius="10" BorderThickness="1" Margin="0,5,0,0">
                <Border.BorderBrush>
                    <LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
                        <GradientStop Color="#FF0099FF" Offset="0"/>
                        <GradientStop Color="LimeGreen" Offset="1"/>
                    </LinearGradientBrush>
                </Border.BorderBrush>
                <Grid x:Name="_allLoginControls" >
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="85*" />
                        <ColumnDefinition Width="205*" />
                    </Grid.ColumnDefinitions>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="35" />
                        <RowDefinition Height="35" />
                        <RowDefinition Height="35" />
                        <RowDefinition Height="*" />
                    </Grid.RowDefinitions>
                    <TextBox Margin="0,5,5,5"  x:Name="_usernameTb" BorderThickness="0" Grid.Column="1" FontFamily="Verdana" FontSize="14"  />
                    <TextBlock Margin="5,5,0,5" Text="Username " Foreground="White"  x:Name="textBlock1" FontFamily="Verdana" FontSize="14" HorizontalAlignment="Left"  />
                    <PasswordBox Margin="0,5,5,5" Grid.Row="1"  x:Name="_passwordTB" BorderThickness="0" Grid.Column="1" FontFamily="Verdana" FontSize="14" />
                    <TextBlock Margin="5,5,0,5" Grid.Row="1" Text="Password " Foreground="White"  x:Name="textBlock2" FontFamily="Verdana" FontSize="14"  HorizontalAlignment="Left"  />
                    <StackPanel HorizontalAlignment="Right" Orientation="Horizontal" Grid.Row="2" Grid.Column="1" Margin="73,0,0,0">
                        <CheckBox x:Name="_rememberLoginChk" Margin="0,0,5,0" VerticalAlignment="Center">
                            <TextBlock Foreground="White" Text="Remember Login" FontFamily="Verdana"/>
                        </CheckBox>
                        <localcontrols:CategoryButton Name="_loginBtn" Height="25" Width="80" Title="Login" DisplayText="Login" Foreground="White" TransitionColor="LightGreen" DisplayBackground="#FF0099FF" />
                        
                    </StackPanel>
                    <TextBlock Name="_createAccountBtn" Grid.Row="3" Grid.ColumnSpan="2"  Margin="5,0,0,5" Text="Create Account" FontFamily="Verdana"  Foreground="White"  Cursor="Hand" Height="21" VerticalAlignment="Bottom" HorizontalAlignment="Left"  />
                </Grid>
            </Border>
        </StackPanel>
    </Grid>
</UserControl>
